// 头部高度
@header-height:0.5rem;
// 内容四周边距
@wrap-padding: 0.14rem;
// 图表标题高度
@charts-title-height: 0.38rem;
// 标题下边距
@charts-title-marginBottom: 0.16rem;

.HB-wrap {
    height: 100%;
    width: 100%;
    background-image:url('~@/assets/bg.png');
    background-size: 100% 100%;
    overflow: hidden;
    .HB-header {
        height: @header-height;
        text-align: center;
        width: 100%;
        z-index: 9999;
    }
    .HB-bg{
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        .HB-bg-cover{
            width: 100%;
            height: 100%;
            position: absolute;
            z-index: 3;
            pointer-events:none;
            background: radial-gradient(at 50% 50%, rgba(14,23,40,0),rgba(14,23,40,0),rgba(14,23,40,.6), rgba(14,23,40,.8), rgba(14,23,40,1));
        }
    }
    .HB-content {
        height: calc(100% - @header-height);
        padding: 0 @wrap-padding @wrap-padding @wrap-padding;
        padding-top: @charts-title-marginBottom;
        z-index: 99;
        .HB-col {
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
    }
}

.HB-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    .HB-box-title {
        height: @charts-title-height;
        line-height: @charts-title-height;
        background-image:url('~@/assets/chart-title.png');
        background-size: 100% 100%;
        background-repeat: no-repeat;
        flex-shrink: 0;
        text-align: left;
        padding-left:8%;
        font-size: 0.16rem;
        color:#fff;
    }
    .HB-box-content {
        flex: 1;
        position: relative;
        height: calc(100% - @charts-title-height);
    }
}
.enableBgAction{
    pointer-events: none;
}
.HB-flex-row{
    display: flex;
    flex-direction: row;
}
.HB-box-flex {
    flex: 1;
    display: flex;
    flex-direction: column;
}
